<div class="crop" 
    [style.width.px]="starWidth"
    [title]="rating">
    <div style="width: 86px" (click)='ratingStarsClicked()'>
        <span class="glyphicon glyphicon-star"></span>
        <span class="glyphicon glyphicon-star"></span>
        <span class="glyphicon glyphicon-star"></span>
        <span class="glyphicon glyphicon-star"></span>
        <span class="glyphicon glyphicon-star"></span>
    </div>
</div>